﻿using System;
using Autodesk.Revit.DB;

namespace HYRElectric.PowerSystem
{
	public class CSystemDataBlock
	{
		public Element M_object
		{
			get
			{
				return this.m_object;
			}
			set
			{
				this.m_object = value;
			}
		}

		public int NDataType
		{
			get
			{
				return this.m_nDataType;
			}
			set
			{
				this.m_nDataType = value;
			}
		}

		public string StrGUID
		{
			get
			{
				return this.m_strGUID;
			}
			set
			{
				this.m_strGUID = value;
			}
		}

		public string StrNum
		{
			get
			{
				return this.m_strNum;
			}
			set
			{
				this.m_strNum = value;
			}
		}

		public string StrLoadType
		{
			get
			{
				return this.m_strLoadType;
			}
			set
			{
				this.m_strLoadType = value;
			}
		}

		public string StrPhase
		{
			get
			{
				return this.m_strPhase;
			}
			set
			{
				this.m_strPhase = value;
			}
		}

		public double DPe
		{
			get
			{
				return this.m_dPe;
			}
			set
			{
				this.m_dPe = value;
			}
		}

		public double DUr
		{
			get
			{
				return this.m_dUr;
			}
			set
			{
				this.m_dUr = value;
			}
		}

		public double DKx
		{
			get
			{
				return this.m_dKx;
			}
			set
			{
				this.m_dKx = value;
			}
		}

		public double DCos
		{
			get
			{
				return this.m_dCos;
			}
			set
			{
				this.m_dCos = value;
			}
		}

		public double DIc
		{
			get
			{
				return this.m_dIc;
			}
			set
			{
				this.m_dIc = value;
			}
		}

		public string StrWireType
		{
			get
			{
				return this.m_strWireType;
			}
			set
			{
				this.m_strWireType = value;
			}
		}

		public ushort NWireNum
		{
			get
			{
				return this.m_nWireNum;
			}
			set
			{
				this.m_nWireNum = value;
			}
		}

		public string StrLaying
		{
			get
			{
				return this.m_strLaying;
			}
			set
			{
				this.m_strLaying = value;
			}
		}

		public double DWireS
		{
			get
			{
				return this.m_dWireS;
			}
			set
			{
				this.m_dWireS = value;
			}
		}

		public string StrPipeType
		{
			get
			{
				return this.m_strPipeType;
			}
			set
			{
				this.m_strPipeType = value;
			}
		}

		public double DPipeDia
		{
			get
			{
				return this.m_dPipeDia;
			}
			set
			{
				this.m_dPipeDia = value;
			}
		}

		public string StrSwitchName
		{
			get
			{
				return this.m_strSwitchName;
			}
			set
			{
				this.m_strSwitchName = value;
			}
		}

		public string StrSwitchType
		{
			get
			{
				return this.m_strSwitchType;
			}
			set
			{
				this.m_strSwitchType = value;
			}
		}

		public string StrSwitchSpec
		{
			get
			{
				return this.m_strSwitchSpec;
			}
			set
			{
				this.m_strSwitchSpec = value;
			}
		}

		public string StrParentGUID
		{
			get
			{
				return this.m_strParentGUID;
			}
			set
			{
				this.m_strParentGUID = value;
			}
		}

		private Element m_object;

		private int m_nDataType;

		private string m_strGUID;

		private string m_strNum;

		private string m_strLoadType;

		private string m_strPhase;

		private double m_dPe;

		private double m_dUr;

		private double m_dKx;

		private double m_dCos;

		private double m_dIc;

		private string m_strWireType;

		private ushort m_nWireNum;

		private string m_strLaying;

		private double m_dWireS;

		private string m_strPipeType;

		private double m_dPipeDia;

		private string m_strSwitchName;

		private string m_strSwitchType;

		private string m_strSwitchSpec;

		private string m_strParentGUID;

		public enum DataType
		{
			eDataElecPanel,
			eDataSystemLoop
		}
	}
}
